//package com.springcloud.alibaba.lin.nacos.controller;
//
//import com.alibaba.nacos.api.config.annotation.NacosValue;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
////@Controller
//@RestController
//@RequestMapping("config")
//public class ConfigController {
//
//    @NacosValue(value = "${useLocalCache:false}", autoRefreshed = true)
//    private boolean useLocalCache;
//
////    @RequestMapping(value = "/get", method = GET)
////    @ResponseBody
//    @GetMapping("/get")
//    public boolean get() {
//        return useLocalCache;
//    }
//}